package com.ruoyi.web.controller.retirement;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.retirement.domain.RetirementArticleCollectRecord;
import com.ruoyi.retirement.service.IRetirementArticleCollectRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 文章报名记录Controller
 * 
 * @author 曹旭
 * @date 2025-09-08
 */
@RestController
@RequestMapping("/retirement/retirementArticleRecord")
public class RetirementArticleCollectRecordController extends BaseController
{
    @Autowired
    private IRetirementArticleCollectRecordService retirementArticleCollectRecordService;

    /**
     * 查询文章报名记录列表
     */
    @GetMapping("/list")
    public TableDataInfo list(RetirementArticleCollectRecord retirementArticleCollectRecord)
    {
        startPage();
        List<RetirementArticleCollectRecord> list = retirementArticleCollectRecordService.selectRetirementArticleCollectRecordList(retirementArticleCollectRecord);
        return getDataTable(list);
    }

}
